﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Example6_CSharp
{
    interface IA
    {
       void m1();
    }
    class C : IA
    {
        void m1()
        {
            Console.WriteLine("Interface A");
        }
        void m2()
        {
            Console.WriteLine("hello");
        }
        static void Main()
        {
            IA a= new C();
            a.m1();
        }
    }
}
